home *** CD-ROM | disk | FTP | other *** search
- Jgross@netcom.com said:
-
- >> After some more experimentation, I stumbled upon THE SOLUTION:
- >>
- >> Need to turn on the "FG Fader Alpha" button in the "Image
- >> Compositing Panel." Otherwise, any non-black shadow-alpha
- >> surface is NOT blocked out by the alpha image.
- >
- >Oops, I guess I forgot to mention that little detail..... FG Fader
- >doesn't treat the fG image as additive as it usually is (added to the bg
- >colors). Using FG Fader allows you to "clip out the FG "background" with
- >the alpha image, the prob is that any antialiased edges in the FG image
- >may stand out as they have "bits" of the original bg in the antialiased
- >edges that may not match the new bg image that you are comping it
- >against...
-
- Yup. Doesn't work as well as I first thought, although the nasty
- edges can be subdued somewhat by antialiasing the composite and using
- soft filter.
-
- An even better solution, just discovered by a fellow LW animator who does
- a LOT of compositing, eliminates the problem with the matte edges and
- preserves the ability to use transparency...
- To wit: (or anyone else who actually finds this subject interesting :)
- 1. Render normally, with A-A, saving the RGB and the shadow-alpha
- images. Shadow-alpha surfaces should be black and 100% diffuse.
- 2. Render a second pass, with A-A, with the shadow-alpha objects
- dissolved out or cleared from the scene and shadows turned off. i.e.:
- just the foreground objects -- saving JUST the alpha image.
- 3. Render a composite (no A-A) of the shadow-alpha image (from step
- 1) as the BG image, and the alpha without shadows (from step 2) as the
- foreground image. Set "Foreground Dissolve" to a suitable percentage:
- towards 0% = lighter shadows, towards 100% = darker shadows. Record as
- an RGB image, NOT alpha.
- 4. Use the resulting RGB image from step 3 as the alpha for the
- final composite (no A-A) with the original BG and the foreground RGB
- image from step 1.
- (Don't use either of the Fader Alpha buttons in any of these steps.)
-
- I gave it try, and it works great as a way to control the shadow
- density.
-
- -Jim
- James G. Jones
- Nibbles & Bits
- jgjones@usa.net
-
-
- ___
- * UniQWK #5134*
-
-
-
-
-